from .base import *
# from .base import env

DEBUG = False

SECRET_KEY = env(
    "DJANGO_SECRET_KEY"
)

ALLOWED_HOSTS = ['*']

# LOGGING
# ------------------------------------------------------------------------------
# https://docs.djangoproject.com/en/dev/ref/settings/#logging
# See https://docs.djangoproject.com/en/dev/topics/logging for
# more details on how to customize your logging configuration.
# A sample logging configuration. The only tangible logging
# performed by this configuration is to send an email to
# the site admins on every HTTP 500 error when DEBUG=False.
# LOGGING = {
#     "version": 1,
#     "disable_existing_loggers": False,
#     "formatters": {
#         "verbose": {
#             "format": "%(levelname)s %(asctime)s %(module)s "
#             "%(process)d %(thread)d %(message)s"
#         },   # 详细
#         'standard': {  # 标准
#             'format': '[%(asctime)s] [%(levelname)s] %(message)s'
#         },
#         'simple': {
#             'format': '[%(asctime)s] %(message)s'
#         },
#     },
#     "handlers": {
#         "console": {
#             "level": "INFO",
#             "class": "logging.StreamHandler",
#             "formatter": "simple",
#         },
#     },
#     "loggers": {
#         'django': {
#             'handlers': ['console'],
#             'level': 'DEBUG'
#         },
#         'django.request': {
#             'handlers': ['console'],
#             'level': 'DEBUG'
#         }
#     },
# }

